package lambda;

import java.io.File;

public class Test {
    public static void main(String[] args) {
        File file = new File(".");
        File[] qwe =file.listFiles(f->f.getName().contains("o"));
        for (int i=0;i< qwe.length;i++) {
            System.out.println(qwe[i].getName());
        }
    }
}
